[SLOP(claude-opus-4-8-medium)] chore: add profiling cargo profile for heaptrack leak investigation#5314
Conversation
|
Stack for rivet-dev/rivet
Get stack: |
|
This PR does two things: adds a `[profile.profiling]` Cargo profile for heaptrack-based leak investigation, and refactors `run_event_loop` in `napi_actor_events.rs` to interleave `JoinSet` reaping with event dispatch so completed background tasks don't accumulate RSS over an actor's lifetime. The change is small and well-motivated. Four issues worth addressing: `drain_tasks` inconsistency with cancelled-task error suppression Profiling profile comment overstates inlining suppression
Missing |
|
🚅 Deployed to the rivet-pr-5314 environment in rivet-frontend
|
… heaptrack leak investigation
051f338 to
6efb5f5
Compare
4128684 to
5e48af6
Compare
…ks from event-loop JoinSet (#5315) * [SLOP(claude-opus-4-8)] fix(kitchen-sink): serve built frontend from server * [SLOP(claude-opus-4-8-medium)] chore: add profiling cargo profile for heaptrack leak investigation * [SLOP(claude-opus-4-8-medium)] fix(rivetkit-napi): reap completed tasks from event-loop JoinSet
No description provided.